package _1_2_ClassAndObject;

/**
 * @author bpzj 2019/11/11 14:54
 */
public class Father {
    private String name;

    public static Father newInstance() {
        return new Son();
    }

    public Father() {
        System.out.println("执行父类的构造器");
        this.name = "father";
    }
}
